#ifndef MEDIA_INFO_DEFINE_H
#define MEDIA_INFO_DEFINE_H
#include <cstdint>
#include <string>
#include "Model_Base.h"
typedef struct
{
    bool isexist;
    //media
    std::uint8_t type;
    AVStream         *l_pstStream   ; // audio stream info
    AVCodecContext   *l_pstCodecCtx ; // audio stream detailed context
    AVCodec          *l_pstCodec    ;
    int stream_index;
    int last_stream;
    std::uint16_t m_flame_width;
    std::uint16_t m_flame_height;
    std::uint16_t m_Bitrate;
    std::uint16_t m_Datarate;
    std::uint16_t m_Framerate;
}mediainfo_t;



#endif // MEDIA_INFO_DEFINE_H
